package com.ysh.xiaomi.dao;

import com.ysh.xiaomi.pojo.TbAddress;

import java.util.List;

/**
 * 袁胜虎 on 2022/8/18 19:40
 */
public interface AddressDao {

    TbAddress findById(Long addressId);

    List<TbAddress> findAllAddressByUserId(Long userId);

    int insertAddress(TbAddress address);

    void deleteAddressByAid(String aid);
}
